package com.cloud.phone.http;

/**
 * @author: njb
 * @date: 2024/3/30 17:32
 * @desc:请求结果回调类
 */
public class CloudHttpResult<T> {
    /**
     * message
     */
    private String message;
    /**
     * 记录请求回来的错误状态描述
     */
    private int code = 0;
    /**
     * 记录返回的数据
     */
    private T data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
